package com.gdkj.entity.game;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  k币 k钻记录
 * @Author  zhangwen
 * @Date 2022-09-26 
 */

@Data
@Table(name = "cmf_kcoin_record")
public class CmfKcoinRecord  implements Serializable {

	private static final long serialVersionUID =  5456199951809983934L;

	@ApiModelProperty(value = "主键id")
    @Id
	private Integer id;

	@ApiModelProperty(value = "用户id")
	private Long uid;

	@ApiModelProperty(value = "用户昵称")
	@Transient
	private String nickName;

	@ApiModelProperty(value = "用户账号")
	@Transient
	private String userNumber;

	@ApiModelProperty(value = "收入还是支付（1收入 -1支付）")
	private Integer inOutType;

	@ApiModelProperty(value = "收支类型（21种）")
	private Integer actionType;

	@ApiModelProperty(value = "收支类型名称")
	private String actionName;

	@ApiModelProperty(value = "币种（1币 2k钻 3k豆）")
	private Integer coinType;

	@ApiModelProperty(value = "数量")
	private Integer num;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

}
